package com.ruiyi.adrobot.service.taskdetail;

import com.ruiyi.adrobot.beans.TaskDetail;
import org.springframework.data.mongodb.core.query.Update;

public interface TaskDetailService {

    String insert(TaskDetail taskDetail);

    void stopTaskById(String id);

    TaskDetail updateTaskByNum(String taskDetailId, Integer num, Update update);

    TaskDetail updateById(String taskDetailId, Update taskDetailUpdate);

}
